package com.gcu.drivingschool.domain.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 分页实体
 * @author zzr
 * @create 2024-04-24-22:02
 */
@Schema(description = "分页实体")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PageBean <T>{
    @Schema(description = "总条数")
    private Long total;//总条数
    @Schema(description = "数据")
    private List<T> items;//数据
}
